import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';

const routes: Routes = [
    {
        path: 'database',
        loadChildren: './database/database.module#DatabaseModule'
    },
    {
        path: 'news',
        loadChildren: './news/news.module#NewsModule'
    },
    {
        path: 'service',
        loadChildren: './service/service.module#ServiceModule'
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class SystemMonitoringRoutingModule {
}
